#include "ProductTypeII.h"
#include "PartATypeII.h"
#include "PartBTypeII.h"
#include <iostream>

CProductTypeII* CProductTypeII::CreateProduct()
{
    std::cout << "Product TypeII" << std::endl;

    IProductPartAFactory* objPartA = new PartATypeII;
    objPartA->CreatePartA();

    IProductPartBFactory* objPartB = new PartBTypeII;
    objPartB->CreatePartB();

    return this;
}

